import { toolsByCategory } from './index';

// 展示所有工具及其中文名称
console.log('=== IT-Tools 所有功能列表 ===\n');

toolsByCategory.forEach((category, categoryIndex) => {
    console.log(`${categoryIndex + 1}. ${category.name} 分类:`);
    category.components.forEach((tool, toolIndex) => {
        const chineseName = tool.chineseName || tool.name;
        console.log(`   ${categoryIndex + 1}.${toolIndex + 1} ${chineseName} (${tool.name})`);
    });
    console.log('');
});

// 统计总数
const totalTools = toolsByCategory.reduce((sum, category) => sum + category.components.length, 0);
console.log(`总计: ${totalTools} 个工具`);

// 按分类统计
console.log('\n=== 各分类工具数量 ===');
toolsByCategory.forEach(category => {
    console.log(`${category.name}: ${category.components.length} 个`);
}); 